<template>
    <div class="box">
        <div class="addSpecial" @click="isShowIpt=true"><i class="el-icon-plus"></i> <span>创建专栏</span></div>
        <div class="right" v-show="isShowIpt">
            <el-input type="textarea" rows="3" resize='none' class="ipt" height="100px" v-model="input"
                placeholder="请输入专栏名称"></el-input>
            <ul>
                <li @click="isShowIpt=false"><i class="el-icon-delete-solid"></i><span>删除</span></li>
                <li><i class="el-icon-circle-plus"></i><span>创建</span></li>
                <li><i class="el-icon-lock"></i><span>所有人可见</span></li>
            </ul>
        </div>
    </div>
</template>

<script>
export default {
    props: {

    },
    data() {
        return {
            input: '',
            isShowIpt:false
        };
    },
    computed: {

    },
    created() {

    },
    mounted() {

    },
    watch: {

    },
    methods: {

    },
    components: {

    },
};
</script>

<style scoped lang="less">
.box {
    background-color: #fff;
    height: 220px;
    padding: 20px;
    display: flex;

    .addSpecial {
        width: 300px;
        border: 1px dotted #000;
        height: 180px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 3px 3px 10px #666;
        cursor: pointer;

        i {
            font-size: 30px;
            font-weight: 900;
        }

        span {
            margin-top: 5px;
        }
    }

    .addSpecial:hover {
        background-color: #efefef;
        box-shadow: none;
    }

    .right {
        background-color: #01DBD2;
        width: 400px;
        height: 150px;
        border-radius: 10px;
        margin-left: 20px;
        padding: 20px;

        .ipt {
            font-size: 18px;
        }

        ul {
            display: flex;
            color: #fff;
            font-weight: 600;
            margin-top: 5px;
            li {
                margin-right: 10px;
                cursor: pointer;
                i {
                    color: #efefef;
                    margin-right: 2px;
                }
            }
            li:last-Child{
                margin-left: 155px;
            }
        }
    }
}</style>
